package service;

import java.util.ArrayList;
import java.util.List;

import model.Timesheet;
import model.TimesheetDetail;

public interface TimesheetAPI {
	
	public int addTimesheet(Timesheet ts);
	
	public int updateTimesheet(Timesheet ts);
	
	public int deleteTimesheet(int id);
	
	public List<Timesheet> getTimesheet();
	
	public boolean checkEmployeeid(int id);
	
	public boolean checkProjectid(int id);
	
	public String checkoverTime(int i);
	
	public Timesheet getTimesheetById(int id);
	
	public List<Timesheet> getTimesheetByEmployeeid(int id);
	
	public List<Timesheet> getTimesheetByProjectid(int id);
	
	public int deleteTimesheetbyEmp(int employeeid);
	
	public int deleteTimesheetbyPj(int projectid);
	
	public String checkLocation(int i);
	
	public List<TimesheetDetail> getTimeSheetDetail();
}
